package com.sjgtw.cloud.job.service;

import com.sjgtw.cloud.common.core.web.domain.AjaxResult;
import com.sjgtw.cloud.job.service.impl.EmergencyServerServiceHystrfix;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "sjgtw-emergency", url = "${feignJob.client.url}",fallback = EmergencyServerServiceHystrfix.class)
@Component("emergencyServerService")
public interface EmergencyServerService {

    @RequestMapping(value = "/sjgtw-emergency/remoteRainfallMonitoring/getRainfallMonitoringList", method = RequestMethod.GET)
    AjaxResult getRainfallMonitoringList();


}
